package com.zhuzhoujia.main;

import com.example.zhuzhoujia.R;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;

public class MainFragment1 extends Fragment {
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		LinearLayout root = (LinearLayout) inflater.inflate(R.layout.main_fragmengt1_layout, null);
		root.setBackgroundColor(getArguments().getInt("color"));
		return root;
	}
}
